GetRows
Returns the ApiRange object that represents all the cells on the rows range.
Syntax
expression.GetRows(value);
expression
- A variable that represents a ApiWorksheet class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
value | Required | string | number |
Returns
ApiRange | null
Example
This example shows how to get the ApiRange object that represents all the cells on the rows range.
var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRows("1:4").SetFillColor(Api.CreateColorFromRGB(255, 213, 191));